Repository navigation
feat(speech): a voice app on this computer speaks for the Studio (2.22.0) - #46
Merged
Merged
Conversation
…compatible speech API For issue 43, second part: narration in a voice cloned in a separate app such as qwentts.cpp, AudioCpp Desktop or VoiceStudio, which answer the OpenAI-compatible speech API on this computer, by default at http://127.0.0.1:8080. New routes under /api/speech/app: GET and PUT for the address, model, voice and an optional key; POST check, which reads /v1/models and /v1/audio/voices; POST speak, a speech job that asks /v1/audio/speech for a WAV and ingests the sound as media, the same result the other speech jobs give. Only 127.0.0.1, localhost and ::1 are taken, with no proxy and no redirect. The settings are kept in voice-app.json in the data folder, readable by its owner only, and the key is never returned. Seen: driven against a stand-in OpenAI-compatible app on loopback. Not run: a real voice app, Windows.
…s, Key, Check and Model The Engine list gains Voice app on this computer. It shows the app's address, a key field for an app that asks for one, Check, which fills Model and Voice from what the app lists, and keeps Speed; Generate puts the sound on the timeline at the playhead as the other engines do. Opening the engine reads the stored settings only and does not call the app. Seven new phrases in the language pack, German, Spanish, Arabic, Persian, Hebrew and Croatian. Seen: tsc --noEmit, npm run build, and the page in headless Chromium at 4x CPU and a slow network against a stand-in app, with no layout shift under keyboard and click input. Not seen: a real voice app or the Tauri window.
…ice_app.py in the engine map
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(speech): a voice app on this computer speaks for the Studio (2.22.0)
Summary
For issue #43, its second part, and the one thing FormMorpheus #31 has that FormCut lacked. Built on main at 2.21.1 (pull request #45).
http://127.0.0.1:8080) and a key if the app asks for one, press Check, pick its model and voice, and Generate puts the sound on the timeline at the playhead, as the other engines do./v1/modelsand/v1/audio/voices. It says plainly when nothing answers at the address or when the app wants a key. An app that lists neither still works, with its own default model and voice.127.0.0.1,localhostand[::1]are taken, with no proxy and no redirect; a LAN or internet address is refused in words.voice-app.jsonin the data folder, readable by its owner only, and is never sent back to the window.GETandPUT /api/speech/app,POST /api/speech/app/check,POST /api/speech/app/speak(a job whose result is{"media": ...}, like the other speech jobs).Commits
Oldest first; the release commit is last; no merge commits. The short hashes change when the commits are signed.
Version
v2.22.0 (release commit is last), a minor version for a new feature. Bumped from 2.21.1: the README badge,
backend/app/main.pyAPP_VERSION,form-functions.json,frontend/package.json,frontend/package-lock.json(both fields),src-tauri/Cargo.toml,src-tauri/Cargo.lockandsrc-tauri/tauri.conf.json. The demo bundles are not rebuilt.Checks
Run on 30 November 2026, Linux, Python 3.12, Node 22, on this tree:
ruff checkandruff format --checkclean;setup/notices.py --checkpasses (no new dependency);setup/skill_maps.py --checkin step.tsc --noEmitclean;npm run buildbuilt; the language pack's rows all have ten columns.python -m pytest tests: 1,745 passed, 154 skipped, no failures. The window smoke tests infrontend/tests/window: 6 passed. No tests were added.Not run: a real voice app (qwentts.cpp, AudioCpp Desktop, VoiceStudio), Windows and macOS, the Tauri window, the golden frames and output checks (the renderer is not touched).
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.